/*
* @Author: Ryanjie
* @Date:   2019-12-15 16:06:51
* @Last Modified by:   Ryanjie
* @Last Modified time: 2019-12-15 16:07:56
*/
module.exports = {
  base: "/bimg/",
  title: 'Bimg',
  description: '💖Collect high-quality pictures from around the world.',
  host: 'localhost',
  port: '9999',
  head: [
    ['link', { rel: 'icon', href: `/Bing.svg` }],
    ['link', { rel: 'manifest', href: '/icons/manifest.json' }],
    ['meta', { name: 'theme-color', content: '#ffffff' }],
    ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
    ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
    ['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon.png` }],
    ['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#5bbad5' }],
    ['meta', { name: 'msapplication-TileImage', content: '/icons/mstile-144x144.png' }],
    ['meta', { name: 'msapplication-TileColor', content: '#00aba9' }]
  ],
  themeConfig: {
    repo: 'Ryanjienaa/BingWallpaper-Optimized',
    docsDir: 'docs',
    editLinks: true,
    editLinkText: 'Edit this page on GitHub',
    smoothScroll: true,
    lastUpdated: 'Last Updated',
    nav: [
      { text: 'Index', link: '/' },
      { text: 'Wallpaper', link: '/src/' },
      { text: 'Blog', link: 'https://ryanjie.gitee.io' },
    ],
    algolia: {
      apiKey: '609a86c98671a264b774c41c67873899',
      indexName: 'bimg'
    },
    sidebar: {
      '/src/': [
        {
          title: '2017 年',
          collapsable: true,
          children: [
            '2017/201701-bingwallpaper', '2017/201702-bingwallpaper', '2017/201703-bingwallpaper', '2017/201704-bingwallpaper',
            '2017/201705-bingwallpaper', '2017/201706-bingwallpaper', '2017/201707-bingwallpaper', '2017/201708-bingwallpaper',
            '2017/201709-bingwallpaper', '2017/201710-bingwallpaper', '2017/201711-bingwallpaper', '2017/201712-bingwallpaper',
          ],
        },
        {
          title: '2018 年',
          collapsable: false,
          children: [
            '2018/201801-bingwallpaper', '2018/201802-bingwallpaper', '2018/201803-bingwallpaper', '2018/201804-bingwallpaper',
            '2018/201805-bingwallpaper', '2018/201806-bingwallpaper', '2018/201807-bingwallpaper', '2018/201808-bingwallpaper',
            '2018/201809-bingwallpaper', '2018/201810-bingwallpaper', '2018/201811-bingwallpaper', '2018/201812-bingwallpaper',
          ],
        },
        {
          title: '2019 年',
          collapsable: false,
          children: [
            '2019/201901-bingwallpaper', '2019/201902-bingwallpaper', '2019/201903-bingwallpaper', '2019/201904-bingwallpaper',
            '2019/201905-bingwallpaper', '2019/201906-bingwallpaper', '2019/201907-bingwallpaper', '2019/201908-bingwallpaper',
            '2019/201909-bingwallpaper', '2019/201910-bingwallpaper', '2019/201911-bingwallpaper', 
          ],
        },
      ]
    }
  },
  plugins: [
    ['@vuepress/back-to-top', true],
    ['@vuepress/pwa', {
      serviceWorker: true,
      updatePopup: true
    }],
    ['@vuepress/medium-zoom', true],
    ['@vuepress/nprogress']
  ]
}